package com.bicon.botu.core.base.validate.annotation;


import com.bicon.botu.core.base.validate.ValidateUtils;

import java.lang.annotation.*;

/**
 * @version 1.0.0
 * @author: Gyb
 * @date 2018/3/5
 * @description
 **/
@Target({ElementType.FIELD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Mobile {

    String regex() default ValidateUtils.PHONE;

    String message();
}
